//添加上传
$(function(){
	$("#button").click(function(){
		var html = $("<input type='file' name='up.upload'>");
		var button = $("<input type='button' name='button' class='delupload' value='删除'><br>");
   
		$("#body div").append(html).append(button);         
		button.click(function(){
			html.remove();
			button.remove();
		})
	})
})

//可选可输--把选中的值赋给输入文本 
function changeF(){  
	var makeupCoSe = document.getElementById("makeupCoSe");
	var makeupCo = document.getElementById("makeupCo")
	makeupCo.value = makeupCoSe.options[makeupCoSe.selectedIndex].text;  
}  